<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            /*块级元素 可以修改宽高 独自占一行*/
            width: 100px;
            height: 100px;
            border: 1px solid red;
        }
        span{
            /*行内元素默认不能修改宽高 共占一行
            头如果非要改需要修改display*/
            display: block;
            width: 100px;
            height: 100px;
            border: 1px solid red;
        }
        img{
            /*行内块元素 共占一行 可以修改宽高*/
            width: 100px;
            height: 100px;
        }
    </style>
</head>
<body>
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>1</span>
<span>2</span>
<span>3</span>
<img src="atm.JPEG" alt="">
<img src="atm.JPEG" alt="">
<img src="atm.JPEG" alt="">
</body>
</html>